package cn.icare.cms;

import cn.icare.cms.dao.po.AD;
import cn.icare.cms.model.ro.AddADRO;
import cn.icare.cms.model.ro.EditADRO;
import cn.icare.cms.model.vo.rest.MsgDatasVO;

import java.util.List;

public interface ADService {
    Integer createOne(AddADRO ro, String actionUserName);

    boolean updateOne(EditADRO ro, String actionUserName);

    boolean deleteOne(Integer id);

    boolean deleteBatch(List<Integer> ids);

    AD getOne(Integer id);

    MsgDatasVO getAllList(Integer type,Integer status);

}
